#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include<QCamera>
#include<QCameraViewfinder>

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

private:
    QCamera *camera;
    QCameraViewfinder *viewfinder;

};
#endif // WIDGET_H
